/**
 * @description 定义数据状态处理器，实现缓存和持久化
 */

import { createPinia } from "pinia";
import useCommonStore from "./common";
import persisteStatePlugin from "./persiste";

const pinia = createPinia()
pinia.use(persisteStatePlugin)
export {
    pinia,
    useCommonStore
}